package com.hyperf.core.exception;

import lombok.Getter;
import lombok.Setter;

/**
 * @author lizhaoyang
 * @date 2020/11/30
 */
@Getter
@Setter
public class ExceptionInfo {
    /**
     * 状态信息
     */
    private int errorCode;

    /**
     * 功能：错误消息
     */
    private String errorMessage;

    public ExceptionInfo() {
    }

    public ExceptionInfo(int errorCode, String errorMessage) {
        this.errorCode = errorCode;
        this.errorMessage = errorMessage;
    }
}
